import 'dart:core';

///@author:create by BZY
///Date: 2021/7/20 08:35
///Description: 用于操作腾讯IM相关的数据
class IMKeys {
  ///以下为事件通知key
  ///
  ///抛出自定义消息点击事件
  static const String customMessageClick = 'customMessageClick';

  ///会话列表更新
  static const String conversationList = 'conversationList';

  ///删除会话
  static const String deleteConversation = 'deleteConversation';

  ///新的会话列表
  static const String newConversation = 'newConversation';

  ///账号在其他地方登录
  static const String kickOut = 'kickOut';

  ///图文,语音消息发送进度
  static const String sendMsgProgress = 'sendMsgProgress';

  ///对方消息撤回
  static const String withdrawMessage = 'withDrawMessage';

  ///好友信息变更
  static const String friendInfoChange = 'friendInfoChange';

  ///以下为自定义消息类型
  ///群推荐
  static const String TYPE_RECOMMEND = "recommend";

  ///作废处方
  static const String TYPE_DEL_RECIPE = "delRecipe";

  ///作废检查单
  static const String TYPE_DEL_CHECK = "delCheckList";

  ///患者结束图文会诊
  static const String PAT_OVER_WORD_INQUIRY = "patOverWordInquiry";

  ///医生结束图文会诊
  static const String DOC_OVER_WORD_INQUIRY = "docOverWordInquiry";

  ///结束视频会诊
  static const String END_VIDEO_INQUIRY = "endVideoInquiry";

  ///患者结束视频会诊
  static const String PAT_OVER_VIDEO_INQUIRY = "patOverVideoInquiry";

  ///在其他设备接听
  static const String ANSWERED_ON_OTHER_DEVICE = "answeredOnOtherDevice";

  ///有新的视频接诊信息
  static const String QUEUE_LIST = "queueList";

  ///用户取消问诊
  static const String QUEUE_CANCEL = "queueCancel";

  ///音频请求
  static const String AUDIO_CALL = "audioCall";

  ///患者发送图片信息
  static const String CHECK_IMAGES = "checkImages";

  ///患者没有应答，通知患者结束接听页面
  static const String NO_RESPONSE_END = "noResponseEnd";

  ///收到患者传来的图片
  static const String INQUIRY_IMAGES = "inquiryImages";

  ///拒绝接听音频回访
  static const String AUDIO_REJECT = "audioReject";

  ///拒绝接听视频问诊
  static const String DOCTOR_REJECT = "doctorReject";

  ///用户病历信息
  static const String TYPE_CASE = "caseInfo";

  ///医生填写诊断信息
  static const String DIAGNOSIS = "diagnosis";

  ///医生填写主诉
  static const String MAIN_SUIT = "mainSuit";

  ///医生填写既往史
  static const String JWS = "jws";

  ///医生填写现病史
  static const String XBS = "xbs";

  ///医生开具处方
  static const String RECIPE = "recipe";

  ///医生开具健康指导
  static const String HEALTH_GUIDE = "healthGuide";

  ///医生开具住院建议
  static const String HOSPITAL_ADVICE = "hospitalAdvice";

  ///医生开具检验检查单
  static const String CHECK = "check";

  ///医生填写过敏史
  static const String ALLERGY_HISTORY = "allergyHistory";

  ///发送消息
  static const String SEND_MESSAGE = 'sendMessage';
}
